package com.uam.core.entity.model.entity.enums;

/**
 * 导航参数列表
 *
 * @author lishf
 */
public enum RouteParams {

	PROFILE("profile", "car"), TYPE("type", "orsm"), ELEVATION("elevation", Boolean.TRUE),
	INSTRUCTIONS("instructions", Boolean.TRUE), LOCALE("locale", "zh_CN"), OPTIMIZE("optimize", Boolean.TRUE),
	POINTS_ENCODED("points_encoded", Boolean.FALSE), MAX_PATHS("alternative_route.max_paths", Integer.valueOf(3)),
	DISABLE("ch.disable", Boolean.TRUE), FLIGHT_TYPE("flight_type", String.valueOf(FlyModes.FREE.getCode())),
	MIN_HEIGHT("min_height", null), MAX_HEIGHT("max_height", null), OBSTACLE_VOS("obstacle_vos", null),
	POINTS("points", null);

	private String name = null;

	private Object defaultValue = null;

	private RouteParams(String name, Object defaultValue) {
		this.name = name;
		this.defaultValue = defaultValue;
	}

	public String getName() {
		return name;
	}

	public Object getDefaultValue() {
		return defaultValue;
	}

}
